package com.jxcq.tensquare.base.service;

import com.jxcq.tensquare.base.pojo.Label;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author CalvinXCui
 * @date 2019- 10- 12 17:25
 */

public interface LabelService {

    List<Label> findAll();

    Label findById(String id);

    void save(Label label);

    void update(Label label);

    void deleteById(String id);

    List<Label> findSerech(Label label);

    Page<Label> findPageSerech(Label label, int page, int size);
}
